//
//  STServiceListView.h
//  YiYueHairdresser
//
//  Created by zhouzhouzhou on 2018/9/30.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import <UIKit/UIKit.h>

@class STServiceListView;
@protocol STServiceListViewDelegate <NSObject>
//返回点击
-(void)serviceListViewSelIndexPath:(NSIndexPath *)indexPath data:(id)data;
-(void)serviceListViewDownActionIndexPath:(NSIndexPath *)indexPath data:(id)data;
-(void)serviceListViewChangeActionIndexPath:(NSIndexPath *)indexPath data:(id)data;
-(void)serviceListViewUpSlide;
-(void)serviceListViewDownSlide;
@end


@interface STServiceListView : UIView<UITableViewDelegate,UITableViewDataSource>{
    UITableView *serviceListView;
    CGRect tableFrame;
}

@property(nonatomic,strong)NSArray * serviceListArr;
@property(nonatomic,assign)int serviceType;
@property(nonatomic,weak)id<STServiceListViewDelegate> serviceDelegate;

-(void)loadServiceListView;

@end
